<template>
  <a href="https://gitee.com/ale2300298/vue/tree/master/element_vant">代码仓库地址</a>
  <!-- 启用移动端入口链接 -->
  <router-view></router-view>
</template>

<style>
a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  margin-left: 16px;
}

/* iPhone13 适配样式 */
@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
  html, body {
    width: 390px;
    height: 844px;
    font-size: 14px; /* 适当调整字体大小以适应屏幕 */
  }

  #app {
    max-width: 390px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }

  .van-field__control,
  .el-input__inner {
    font-size: 14px;
  }
}
</style>